package com.weitu.hiddenDanger.service.impl;

import com.weitu.hiddenDanger.mapper.HDAccountMapper;
import com.weitu.hiddenDanger.service.HDAccountService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * Created by fanyuting on 2017/4/20 0020.
 */
@Service
public class HDAccountServiceImpl implements HDAccountService {
    @Autowired
    private HDAccountMapper hdAccountMapper;
    //隐患台账列表
    public List<Map<String,Object>> queryList(Map<String,Object> map){
        return this.hdAccountMapper.queryList(map);
    }
    //隐患台账列表总数
    public int queryListCount(Map<String,Object> map){
        return this.hdAccountMapper.queryListCount(map);
    }
}
